﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CreateNewApplicant.aspx.cs" Inherits="CreateNewApplicant" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link rel="Stylesheet" href="Styles/StyleSheetApplicant.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceholder" Runat="Server">
    <div id="Main">
        <h2>Create new Applicant</h2>
        <p class="LineOdd">
            <asp:Label ID="Label1" runat="server" Text="UserName:" Width="150px"></asp:Label>
            <asp:TextBox ID="txtUserName" runat="server" Width="200px"></asp:TextBox>
            <asp:Label ID="lblErrorUser" runat="server" ForeColor="Red"></asp:Label>
        </p>
        <p>
            <asp:Label ID="Label2" runat="server" Text="Password:" Width="150px"></asp:Label>
            <asp:TextBox ID="txtPassword" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
            <asp:Label ID="lblErrorPass" runat="server" ForeColor="Red"></asp:Label>
        </p>
        <p class="LineOdd">
            <asp:Label ID="Label3" runat="server" Text="Full Name:" Width="150px"></asp:Label>
            <asp:TextBox ID="txtFullName" runat="server" Width="200px"></asp:TextBox>
            <asp:Label ID="lblErrorName" runat="server" ForeColor="Red"></asp:Label>
        </p>
        <p>
            <asp:Label ID="Label4" runat="server" Text="Address:" Width="150px"></asp:Label>
            <asp:TextBox ID="txtAddress" runat="server" Width="200px"></asp:TextBox>
            <asp:Label ID="lblErrorAddress" runat="server" ForeColor="Red"></asp:Label>
        </p>
        <p class="LineOdd">
            <asp:Label ID="Label5" runat="server" Text="Phone:" Width="150px"></asp:Label>
            <asp:TextBox ID="txtPhone" runat="server" Width="200px"></asp:TextBox>
            <asp:Label ID="lblErrorPhone" runat="server" ForeColor="Red"></asp:Label>
        </p>
        <p>
            <asp:Label ID="Label6" runat="server" Text="Date of birth:" Width="150px"></asp:Label>
            <asp:TextBox ID="txtDateBirth" runat="server" Width="200px"></asp:TextBox>
            <asp:CalendarExtender ID="txtDateBirth_CalendarExtender" runat="server" 
                TargetControlID="txtDateBirth">
            </asp:CalendarExtender>
            <asp:Label ID="lblErrorDateBirth" runat="server" ForeColor="Red"></asp:Label>
        </p>
        <p class="LineOdd">
            <asp:Label ID="Label7" runat="server" Text="Email:" Width="150px"></asp:Label>
            <asp:TextBox ID="txtEmail" runat="server" Width="200px"></asp:TextBox>
            <asp:Label ID="lblErrorEmail" runat="server" ForeColor="Red"></asp:Label>
        </p>
        <p style="text-align:center">
            <asp:Button ID="btnCreate" runat="server" Text="Create" CssClass="button" 
                onclick="btnCreate_Click" />
            <asp:Button ID="btnClear" runat="server" Text="Clear" CssClass="button" 
                onclick="btnClear_Click" />
        </p>
        <p style="text-align:center">
            <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
            </asp:ToolkitScriptManager>
        </p>
    </div>
</asp:Content>

